﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    class Seat
    {
        #region Attributes
        private int seatNo;
        private bool state; // false = nontaken. true = taken
        #endregion

        #region Constructors
        public Seat()
        {
            seatNo = 0;
            state = false;
        }

        public Seat(int seatNo, bool state)
        {
            this.seatNo = seatNo;
            this.state = state;
        }
        #endregion

        #region Get and Set Methods
        public int SeatNo
        {
            get { return seatNo; }
            set { seatNo = value; }
        }

        public bool State
        {
            get { return state; }
            set { state = value; }
        }
        #endregion
    }
}
